package com.csu.backmanagesys.Service;

import com.csu.backmanagesys.Domain.Category;

import java.util.List;

public interface CategoryService {
    public List<Category> selectCategory();

    public  List<Category> fuzzySelectCategory(String search);

   public  void insertCategory(
            String categoryId,
            String name,
            String description
    );
    public void deleteCategory(String categoryId);

   public  Category selectCategoryById(String id);

  public  void updateCategory(
            String categoryId,
            String name
    );

  public void updateCategoryPic(
          String categoryId,
          String description
  );


}
